#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2021/4/19 8:17
# @Author  : sunjing
# @Site    : 
# @File    : views.py
# @Software: PyCharm
from django.shortcuts import render


def runoob(request):
    import datetime
    context = {"hello": "hello world!",
               "view_list": [1, 2, 3, 4], "name": 0,
               "time": datetime.datetime.now(),
               "views_str": "<a href='https://www.runoob.com/'>点击跳转</a>"
        , "num": 99
        , "name": "菜鸟教程!"
               }
    return render(request, 'runoob.html', context)


def jichneng(request):
    return render(request, 'jichneng.html')
